GUI Help > Special > setTrackbarRange

setTrackbarRange
setTrackbarRange handle gadget, int min, int max

Description:
Sets the maximum and minimum possible values for a trackbar.

Return Value:


Parameters:
gadget Handle of a trackbar gadget
min Minimum possible value of trackbar
max Maximum possible value of trackbar
Remarks:


See Also:


Example:
(Note: You will need to include the GUI constants file for this example to work)